create user defined exception